package com.xinchao.model;

/**
 * 终端故障图片
 *
 * @author linqiang
 * @date 2018-08-08 15:42
 */
public class BreakdownImg {
    private Long breakdownImgId;

    /**
     * 终端唯一设备编码
     */
    private String deviceCode;

    /**
     * 图片名称
     */
    private String imgName;

    /**
     * 图片地址
     */
    private String imgUrl;

    /**
     * 添加时间
     */
    private Long addTime;

    /**
     * 状态（0：可售；1：逻辑删除）
     */
    private Integer dataStatus;

    public BreakdownImg(Long breakdownImgId, String deviceCode, String imgName, String imgUrl, Long addTime, Integer dataStatus) {
        this.breakdownImgId = breakdownImgId;
        this.deviceCode = deviceCode;
        this.imgName = imgName;
        this.imgUrl = imgUrl;
        this.addTime = addTime;
        this.dataStatus = dataStatus;
    }

    public BreakdownImg() {
        super();
    }

    public Long getBreakdownImgId() {
        return breakdownImgId;
    }

    public void setBreakdownImgId(Long breakdownImgId) {
        this.breakdownImgId = breakdownImgId;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getImgName() {
        return imgName;
    }

    public void setImgName(String imgName) {
        this.imgName = imgName;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Long getAddTime() {
        return addTime;
    }

    public void setAddTime(Long addTime) {
        this.addTime = addTime;
    }

    public Integer getDataStatus() {
        return dataStatus;
    }

    public void setDataStatus(Integer dataStatus) {
        this.dataStatus = dataStatus;
    }

    @Override
    public String toString() {
        return "BreakdownImg{" +
                "breakdownImgId=" + breakdownImgId +
                ", deviceCode='" + deviceCode + '\'' +
                ", imgName='" + imgName + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", addTime=" + addTime +
                ", dataStatus=" + dataStatus +
                '}';
    }
}